<%--
  Created by IntelliJ IDEA.
  User: 86135
  Date: 2023/3/29
  Time: 12:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String repeat = (String)session.getAttribute("updateCreditMsg");
    if (repeat!=null & repeat.equals("积分不足！")){
%>
<script language="JavaScript">
    window.confirm("积分不足！")
    window.location.href="${pageContext.request.contextPath}/account/toUpdateAccount"
</script>
<%} else if(repeat!=null & repeat.equals("升级完毕！")){
%>
<script language="JavaScript">
    window.confirm("升级完毕！")
    window.location.href="${pageContext.request.contextPath}/account/toUpdateAccount"
</script>
<%} else{
%>
<script language="JavaScript">
    window.confirm("已到最高级！")
    window.location.href="${pageContext.request.contextPath}/account/toUpdateAccount"
</script>
<%}
%>
</body>
</html>
